﻿using AutoMapper;
using B.S.Traceability.Domain;
using B.S.Traceability.Writer.API.Application.Commends;
using B.S.Traceability.Writer.API.Application.Commends.Company;
using B.S.Traceability.Writer.API.Application.Commends.Farmss;
using B.S.Traceability.Writer.API.Application.Commends.Health;
using B.S.Traceability.Writer.API.Application.Commends.Imgs;
using B.S.Traceability.Writer.API.Application.Commends.Processs;
using B.S.Traceability.Writer.API.Application.Commends.Slaughter;
using System.Diagnostics;
using Process = B.S.Traceability.Domain.Process;

namespace B.S.Traceability.Writer.API
{
    public class AutoMapperFilePro:Profile
    {
        public AutoMapperFilePro()
        {

            CreateMap<CreateProductsCommends,Products>().ReverseMap(); 
            CreateMap<UpdataProductsCommends, Products>().ReverseMap(); 
            CreateMap<QueryInspecCommends, IntegrateImgs>().ReverseMap();
            CreateMap<CreateFarmCommends, Farms>().ReverseMap();
            CreateMap<CreateHealthCommends, Healths>().ReverseMap();
            CreateMap<UpdataHealthCommends, Healths>().ReverseMap();
            CreateMap<CreateCompanysCommends, Companys>().ReverseMap();
            CreateMap<CreateSlaughtersCommends, Slaughters>().ReverseMap();
            CreateMap<CreateFirmsCommends, Companys>().ReverseMap();
            CreateMap<CreateProcessCommends, Process>().ReverseMap();
            


        }
    }
}
